class CreateSubrests < ActiveRecord::Migration
  def self.up
    create_table :subrests do |t|
      t.references :restaurant
      t.string :name
      t.text :detail
      t.string :lat
      t.string :long
      t.string :img

      t.timestamps
    end
  end

  def self.down
    drop_table :subrests
  end
end
